body { background: #f2f3f5 }
*, *:before, *:after { box-sizing: border-box; }
.ku-layout-admin { }
/* 后台框架大布局 */
.ku-layout-body { overflow-x: hidden; }
.ku-layout-admin .layui-header { background-color: #23292e; }
.ku-layout-admin .layui-side { top: 60px; width: 200px; overflow-x: hidden; }
.ku-layout-admin .layui-body { position: absolute; top: 60px; padding-bottom: 44px; left: 0px; }
.ku-layout-admin .layui-main { width: auto; margin: 10px 10px; }
/*.ku-layout-admin .layui-footer { position: fixed; left: 0px; right: 0; bottom: 0; z-index: 990; height: 44px; line-height: 44px; padding: 0 15px; box-shadow: -1px 0 4px rgb(0 0 0 / 12%); background-color: #fafafa; }*/
.ku-layout-admin .layui-logo { position: absolute; left: 0; top: 0; width: 200px; height: 100%; line-height: 60px; text-align: center; color: #16baaa; font-size: 16px; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 15%); }
.ku-layout-admin .layui-header .layui-nav { background: none; }
.ku-layout-left { position: absolute !important; top: 0; }
.ku-layout-right { position: absolute !important; right: 0; top: 0; }
.ku-layout-admin .layui-logo img { width: 140px; line-height: 60px; }



.ku-header { background: #000; height: 60px;  }
.ku-header .layui-container { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.ku-logo { }
.ku-menu { margin-right: auto; margin-left: 20px; }
.ku-menu-more { line-height: 60px; padding: 0 16px; cursor: pointer; vertical-align: middle; }
.ku-menu-more .layui-icon { color: #fff; }
.ku-search { display: flex; }
.ku-main { margin-top: 20px; }
.ku-main .layui-container { position: relative; margin: 0 auto; display: flex; flex-direction: row; }
.ku-body { margin: 0 auto; overflow-x: hidden; }
.ku-footer { width: 100%; padding-top: 20px; padding-bottom: 20px; background-color: #353535; color: #fff; text-align: center; }
.ku-footer p { margin-bottom: 10px; }
.ku-side { width: 230px; position: sticky; top: 60px; margin-right: 20px; height: fit-content; border-radius: 4px; max-height: calc(100vh - 60px); /*overflow-x: hidden;*/ }

.ku-layout-fx { transition: transform 0.3s ease-in-out; }
.ku-layout-fx .ku-side { top: 80px; max-height: calc(100vh - 80px); }
.ku-layout-fx .ku-header { position: fixed; width: 100%; z-index: 999; top: 0px; }

@media screen and (max-width: 767.98px) {
    .ku-menu { display: none; }
    .ku-layout .ku-logo { left: 50%; margin-left: -48px; width: auto; }
    .ku-side { display: none; }
}

.ku-menu-show { }
/* 字体颜色 */
.layui-font-white { color: #fff !important; }
/*浅*/


/*卡片*/
.layui-card-brief .layui-card-header { border-bottom: 0px; }

.ku-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 1px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 阴影效果 */ transition: transform 0.3s ease; /* 卡片触摸时的动画效果 */ }
.ku-card:hover { border-color: #009688; }
.ku-card-header { display: flex; justify-content: space-between; /* 内容左右分布 */ align-items: center; /* 垂直居中 */ padding: 10px; }
.ku-card-iconfont { font-size: 45px; color: #009688; margin-right: 10px; }
.ku-card-title { flex-grow: 1; /* 允许标题占据剩余空间 */ font-size: 16px; font-weight: 400; }
.ku-card-body { padding: 10px 10px; font-size: 14px; line-height: 1.5; color: #999; }



/*  -- flex弹性布局 -- */
.flex { display: flex; }

.basis-xs { flex-basis: 20%; }

.basis-sm { flex-basis: 40%; }

.basis-df { flex-basis: 50%; }

.basis-lg { flex-basis: 60%; }

.basis-xl { flex-basis: 80%; }

.flex-sub { flex: 1; }

.flex-twice { flex: 2; }

.flex-treble { flex: 3; }

.flex-direction { flex-direction: column; }

.flex-wrap { flex-wrap: wrap; }

.align-start { align-items: flex-start; }

.align-end { align-items: flex-end; }

.align-center { align-items: center; }

.align-stretch { align-items: stretch; }

.self-start { align-self: flex-start; }

.self-center { align-self: flex-center; }

.self-end { align-self: flex-end; }

.self-stretch { align-self: stretch; }

.align-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }

.justify-end { justify-content: flex-end; }

.justify-center { justify-content: center; }

.justify-between { justify-content: space-between; }

.justify-around { justify-content: space-around; }
